package com.tanhua.api.mongo;

import com.tanhua.domain.mongo.Comment;
import com.tanhua.domain.mongo.FollowUser;
import com.tanhua.domain.mongo.Video;
import com.tanhua.domain.vo.PageBeanVo;

import java.util.List;

public interface VideoApi {
    PageBeanVo findVideo(Integer page, Integer pagesize);

    void save(Video vd);

    void saveFollowUser(FollowUser followUser);

    void delete(Long id, Integer vid);

    PageBeanVo findByvideos(Integer page, Integer pagesize, Long uid);

    void dislikeVideo(String id);

    void likeVideo(String id);

    Video findVideoById(String id);

    PageBeanVo findComments(String id,Integer page,Integer pagesize);

}
